package com.ld.ldliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ld.common.utils.PageUtils;
import com.ld.ldliving.commodity.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 *
 * @author ld
 * @email 1989866756@qq.com
 * @date 2024-03-20 21:45:27
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);
//    返回所有分类及其子分类，带有层级关系(树形结构)
    List<CategoryEntity> listWithTree();
}

